<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>17_数组的查</title>
    </head>
    <body>
        <script>
            var arr = ['多肉葡萄','杨枝甘露','芝芝莓莓','淤泥波波'];

            console.log(arr[3]);
            // 如果查不到的时候 会返回undefined
            console.log(arr[4]);
        </script>
    </body>
</html>